package com.example.learn.hwod;

import java.util.ArrayList;
import java.util.Scanner;

public class _36寻找关键钥匙 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String key = sc.nextLine();
        String[] boxes = sc.nextLine().split(" ");
        System.out.println(getResult(key,boxes));
    }

    private static int getResult(String key, String[] boxes) {

        for (int i = 0; i < boxes.length; i++) {
            String s = boxes[i];

            ArrayList<Character> letters = new ArrayList<>();


        }
        return 0;
    }
}
